.class public Lcom/instagram/android/fragment/t;
.super Lcom/instagram/e/b/b;
.source "CameraSettingsFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 20
    invoke-direct {p0}, Lcom/instagram/e/b/b;-><init>()V

    return-void
.end method

.method private a(II)V
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 62
    new-instance v0, Lcom/instagram/ui/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/t;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, p1}, Lcom/instagram/ui/a/a;->a(I)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->ok:I

    new-instance v2, Lcom/instagram/android/fragment/x;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/x;-><init>(Lcom/instagram/android/fragment/t;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->cancel:I

    new-instance v2, Lcom/instagram/android/fragment/w;

    invoke-direct {v2, p0, p2}, Lcom/instagram/android/fragment/w;-><init>(Lcom/instagram/android/fragment/t;I)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 78
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/t;II)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 20
    invoke-direct {p0, p1, p2}, Lcom/instagram/android/fragment/t;->a(II)V

    return-void
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 4
    .parameter
    .parameter
    .parameter

    .prologue
    .line 26
    sget v0, Lcom/facebook/ax;->fragment_camera_settings:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    .line 28
    invoke-static {}, Lcom/instagram/m/a/b;->a()Lcom/instagram/m/a/b;

    move-result-object v2

    .line 30
    sget v0, Lcom/facebook/aw;->row_advanced_camera_checkbox:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    .line 31
    invoke-virtual {v2}, Lcom/instagram/m/a/b;->e()Z

    move-result v3

    invoke-virtual {v0, v3}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 32
    new-instance v3, Lcom/instagram/android/fragment/u;

    invoke-direct {v3, p0, v2}, Lcom/instagram/android/fragment/u;-><init>(Lcom/instagram/android/fragment/t;Lcom/instagram/m/a/b;)V

    invoke-virtual {v0, v3}, Landroid/widget/CheckBox;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 44
    sget v0, Lcom/facebook/aw;->row_advanced_resize_checkbox:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    .line 45
    invoke-virtual {v2}, Lcom/instagram/m/a/b;->f()Z

    move-result v3

    invoke-virtual {v0, v3}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 46
    new-instance v3, Lcom/instagram/android/fragment/v;

    invoke-direct {v3, p0, v2}, Lcom/instagram/android/fragment/v;-><init>(Lcom/instagram/android/fragment/t;Lcom/instagram/m/a/b;)V

    invoke-virtual {v0, v3}, Landroid/widget/CheckBox;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 58
    return-object v1
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 82
    new-instance v0, Lcom/instagram/android/fragment/y;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/y;-><init>(Lcom/instagram/android/fragment/t;)V

    return-object v0
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 112
    const-string v0, "camera_settings"

    return-object v0
.end method
